package com.cskaoyan.bean.cart;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
/**
 * @author 姚旭佳
 */
@NoArgsConstructor
@Data
public  class CartListDTO {
    /**
     * id : 67
     * userId : 1
     * goodsId : 1181021
     * goodsSn : 1111110
     * goodsName : 手办
     * productId : 265
     * price : 100.0
     * number : 4
     * specifications : ["20x220","50x50"]
     * checked : false
     * picUrl : http://182.92.235.201:8083/wx/storage/fetch/fw3hm3aftcivn244ss19.jpg
     * addTime : 2021-10-21 15:47:06
     * updateTime : 2021-10-21 15:51:47
     * deleted : false
     */

    @JsonProperty("id")
    private Integer id;
    @JsonProperty("userId")
    private Integer userId;
    @JsonProperty("goodsId")
    private Integer goodsId;
    @JsonProperty("goodsSn")
    private String goodsSn;
    @JsonProperty("goodsName")
    private String goodsName;
    @JsonProperty("productId")
    private Integer productId;
    @JsonProperty("price")
    private Double price;
    @JsonProperty("number")
    private Integer number;
    @JsonProperty("checked")
    private Boolean checked;
    @JsonProperty("picUrl")
    private String picUrl;
    @JsonProperty("addTime")
    private String addTime;
    @JsonProperty("updateTime")
    private String updateTime;
    @JsonProperty("deleted")
    private Boolean deleted;
    @JsonProperty("specifications")
    private List<String> specifications;
}